package com.yonyou.pmclouds.workquality.process;

import com.yonyou.pmclouds.basecom.bp.processor.MultiProcessor;
import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.basecom.runtime.RuntimeEnvironment;
import com.yonyou.pmclouds.basecom.util.BeanHelper;

public class WorkqualityAddpktantProcessor<T> implements MultiProcessor<T> {
    @Override
    public void process(T[] vos, T[] origs) throws BusinessException {
        for(T vo : vos)
        {
            BeanHelper.setProperty(vo, "pkTenant", RuntimeEnvironment.getTenantId());
        }
    }
}
